
#ifndef MPI_OSD_H
#define MPI_OSD_H

#define OSD_PLANE_NUM            (2)
#define OSD_AREA_NUM             (3)/*the number of areas of one plane.*/
#define OVERLAY_CLUT_OFFSET      (0)
#define OVERLAY_CLUT_NUM         (16)
#define OVERLAY_CLUT_SIZE        (256*4)
#define OVERLAY_DATA_OFFSET      (OVERLAY_CLUT_SIZE* OVERLAY_CLUT_NUM)
#define OVERLAY_AREA_NUM         (3)
#define OVERLAY_AREA_MAX_WIDTH   (1920)

int sgks_mpi_osd_enc_init(void);
int sgks_mpi_osd_enc_get_area_mapping(sgks_mpi_osd_enc_area_index_s areaIndex, sgks_mpi_osd_enc_area_mapping_s *areaMapping);
int sgks_mpi_osd_enc_set_area_params(sgks_mpi_osd_enc_area_params_s *areaParams);
int sgks_mpi_osd_enc_get_area_params(sgks_mpi_osd_enc_area_params_s *areaParams);
int sgks_mpi_osd_enc_config_area_mem(sgks_osd_enc_area_mem_param_s *areamem);
#endif
